package com.sport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sport.entity.SysRole;
import com.sport.entity.vo.RoleAuthority;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 角色表;(sys_role)表服务接口
 * @author: 开心摆烂
 * @date : 2024-11-20
 */
public interface SysRoleService extends IService<SysRole> {

    List<String> getPermission(String id);

    boolean check(RoleAuthority authority);
}